package org.thingsboard.server.dao.video;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.thingsboard.server.common.data.id.TenantId;
import org.thingsboard.server.common.data.video.Video;
import org.thingsboard.server.common.data.video.VideoDto;

import java.util.UUID;

public interface VideoService {

    Video saveOrUpdate(Video videoDto);

    Video getByCamId(String vid);

    Page<Video> page(Pageable page, String videoRepository, TenantId tenantId );

    void delById(UUID id);

    Video getById(UUID id);
}
